package com.cx.service;

import com.cx.pojo.Address;
import com.cx.pojo.GoodDetail;
import com.cx.pojo.OrderGoods;
import com.cx.pojo.Orders;

import java.util.List;

/**
 * @author ：zhangjie
 * @Description :
 */
public interface OrderService {
    List<Address> selectByUserId(Integer id);

    int insert(Address address);

    GoodDetail selectById(Integer id);

    int insert(Orders record);

    int insert(OrderGoods record);

    List<Orders> selectALL();

    Address selectByPrimaryKey(Integer id);

    Orders selectByKey(Integer id);

    int updateByPrimaryKeySelective(Orders record);
}
